<template>
	<view style="height: 100vh;display: flex;flex-direction: column;justify-content: center;">
		<u-loading-icon></u-loading-icon>
	</view>
</template>
<script>
	export default {
			data() {
				return {
					
					
				}
			},
			created(){
			
			},
			onLoad: function (param) {
				let id = 0;
				if(param.scene){
					id = param.scene;
				}else if(param.id){
					id = param.id;
				}
		
				if(id>0){
					this.moxiPost("/index/app/jump",{id:id},(data)=>{
						
						if(!data.data){
							uni.redirectTo({
								url: '/pages/index/index'
							});
							return;
						}
						let page = data.data;
						if(page.indexOf("/")!==0){
							page = "/"+page;
						}
						uni.redirectTo({
							url: page,
							fail() {
								uni.redirectTo({
									url: '/pages/index/index'
								});
							}
						});
					})
				}else{
					uni.redirectTo({
						url: '/pages/index/index'
					});
				}
			
			},
			onShow() {
				
			},
	
			onReady() {
				
			
	
			},
			methods: {
				
			}
		}
</script>

<style>
</style>